package com.system.xingzhi.service;

import com.system.xingzhi.model.ReturnData;
import com.system.xingzhi.model.Component;

import java.util.Map;

public interface ComponentService {
    ReturnData deleteByPrimaryKey(String componentId);

    ReturnData insert(Component record);

    int insertSelective(Component record);

    Component selectByPrimaryKey(String componentId);

    int updateByPrimaryKeySelective(Component record);

    ReturnData updateByPrimaryKey(Component record);

    ReturnData selectByParameter(Map<String, String> map, Integer pageNum, Integer pageSize);

    ReturnData getAllComponent();
}
